package cn.com.ctcloud.saas.core.basic.webtier;

/**
 * Title: ChinaCT SaaS
 * <p>
 * Description: Spring MVC Controller 基类
 * <p>
 * Copyright: 2008
 * <p>
 * Company: Liaoning Open Data Communication Co.,Ltd.
 *
 * @author lihui
 * @version 1.0.0
 */
public abstract class CTSaaSBaseController {
	//	/**
	//	 * TODO 防止JS注入，拦截Controller方法中绑定的对象
	//	 */
	//	@Override
	//	protected void initBinder(ServletRequest request, ServletRequestDataBinder binder) throws Exception {
	//		System.out.println("webInitBinder:" + binder.getAllowedFields());
	//		binder.registerCustomEditor(String.class, new StringEscapeEditor(false, true));
	//	}

}